package com.qixin.modules.ea.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;
import java.util.List;
import java.util.Map;

/**
 * @Description: 费用明细(去掉账本概念)
 * @Author: qixin-boot
 * @Date:   2021-07-06
 * @Version: V1.0
 */
@ApiModel(value="ea_book_detail对象", description="费用明细")
@Data
@TableName("ea_book_detail")
public class EaBookDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    private transient String sysOrgCodeName;
	/**账本日期*/
	@Excel(name = "账本日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "账本日期")
    private java.util.Date bookDate;
	/**费用类型*/
	@Excel(name = "费用类型", width = 15)
    @ApiModelProperty(value = "费用类型")
    private java.lang.String feeType;
	/**费用项目*/
	@Excel(name = "费用项目", width = 15)
    @ApiModelProperty(value = "费用项目")
    private java.lang.String indexId;
    private transient String indexIdName;
	/**原币金额*/
	@Excel(name = "原币金额", width = 15)
    @ApiModelProperty(value = "原币金额")
    private java.math.BigDecimal originalAmt;
	/**币种*/
	@Excel(name = "币种", width = 15, dicCode = "currency")
    @ApiModelProperty(value = "币种")
    private java.lang.Integer currencyId;
	/**汇率*/
	@Excel(name = "汇率", width = 15)
    @ApiModelProperty(value = "汇率")
    private java.math.BigDecimal exchangeRate;
	/**本币金额*/
	@Excel(name = "本币金额", width = 15)
    @ApiModelProperty(value = "本币金额")
    private java.math.BigDecimal amount;
	/**账本类型*/
	@Excel(name = "账本类型", width = 15)
    @ApiModelProperty(value = "账本类型")
    private java.lang.String bookBillKey;
	/**账本ID*/
	@Excel(name = "账本ID", width = 15)
    @ApiModelProperty(value = "账本ID")
    private java.lang.String bookId;
	/**账本来源*/
	@Excel(name = "账本来源", width = 15)
    @ApiModelProperty(value = "账本来源")
    private java.lang.String srcOfBooks;
	/**企业支付*/
	@Excel(name = "企业支付", width = 15, dicCode = "yn")
    @ApiModelProperty(value = "企业支付")
    private java.lang.Integer isEnterprisesPay;
	/**主表主键*/
    @ApiModelProperty(value = "主表主键")
    private java.lang.String billId;

    //开票日期
    @Excel(name = "开票日期", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "开票日期")
    private java.util.Date kprq;
    //消费类型
    @ApiModelProperty(value = "消费类型")
    private java.lang.String kind;
    private transient String kindName;
    //发票类型
    @ApiModelProperty(value = "发票类型")
    private java.lang.String type;
    private transient String typeName;
    //发票信息
    @ApiModelProperty(value = "发票信息id")
    private String fpid;
    //费用归属人
    @ApiModelProperty(value = "费用归属人")
    private java.lang.String fygsr;
    private transient String fygsrName;

    //实际报销金额
    @ApiModelProperty(value = "实际报销金额")
    private java.math.BigDecimal actualEaAmt;
    private transient String actualEaAmt_cn;

    /**事由*/
    @Excel(name = "事由", width = 15)
    @ApiModelProperty(value = "事由")
    private java.lang.String cause;

    /**实际金额说明*/
    @Excel(name = "实际金额说明", width = 15)
    @ApiModelProperty(value = "实际金额说明")
    private java.lang.String actualEaAmtMessage;

    /**是否柔性控制true是false否*/
    @Excel(name = "是否柔性控制true是false否", width = 15)
    @ApiModelProperty(value = "是否柔性控制true是false否")
    private Boolean controlintensity;

    /**人员任职信息主键*/
    @Excel(name = "人员任职信息主键", width = 15)
    @ApiModelProperty(value = "人员任职信息主键")
    private java.lang.String psnjobId;

    /**税率*/
    @Excel(name = "税率", width = 15)
    @ApiModelProperty(value = "")
    private BigDecimal taxRate;
}
